/* ===== VARIABLES CSS ===== */
:root {
  --accent-color: #00ffaa;
  --card-background: linear-gradient(145deg, #0c0c0c, #1a1a1a);
  --text-color: #ffffff;
  --background-color: #0a0a0a;
  --border-color: #2a2a2a;
  --transition-fast: 0.3s ease;
  --transition-medium: 0.4s ease;
  --font-primary: 'Roboto', sans-serif;
  --font-display: 'Orbitron', sans-serif;
}

/* ===== ACCESIBILIDAD ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
}

.high-contrast {
  --background-color: #000000;
  --accent-color: #00ff00;
  --card-background: #000000;
  --border-color: #ffffff;
  --text-color: #ffffff;
}

.high-contrast body {
  background-color: var(--background-color);
  color: var(--text-color);
}

.high-contrast .about-card,
.high-contrast .contact-form,
.high-contrast .product-card {
  background: var(--card-background);
  border: 1px solid var(--border-color);
}

.high-contrast .footer-links a:hover,
.high-contrast .nav-links a:hover {
  color: var(--accent-color);
}

.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: #0fa;
  color: #0a0a0a;
  padding: 10px 15px;
  z-index: 9999;
  transition: top .3s;
}

.skip-to-content:focus {
  top: 0;
}

a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: #00ffaa solid 2px;
  outline-offset: 2px;
}

/* ===== RESET Y ESTILOS GENERALES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Roboto, sans-serif;
  background-color: #0a0a0a;
  color: #fff;
  overflow-x: hidden;
}

.container {
  max-width: 100%;
  margin: 0 auto;
}

img {
  max-width: 100%;
  height: auto;
}

p {
  line-height: 1.8;
  max-width: 800px;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: #ccc;
  letter-spacing: .02em;
  text-align: justify;
  font-weight: 300;
}

::selection {
  background-color: rgba(0, 255, 170, .3);
  color: #fff;
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0a0a0a;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity .5s, visibility .5s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 50px;
  height: 50px;
  border: 3px solid transparent;
  border-top-color: #0fa;
  border-radius: 50%;
  animation: 1s linear infinite spin;
}

@keyframes spin {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ===== HEADER Y NAVEGACIÓN ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(10, 10, 10, .8);
  transition: transform .3s;
  backdrop-filter: blur(5px);
}

.header-scrolled {
  background-color: rgba(10, 10, 10, .95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, .5);
  padding: 15px 50px;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: Orbitron, sans-serif;
  text-decoration: none;
  color: #fff;
  letter-spacing: 2px;
}

.main-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin: 0 20px;
}

.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
  transition: .3s;
}

.nav-links a:hover,
.footer-links a:hover,
.catalog-nav button:hover,
.catalog-nav button.active,
.footer-links a[id=privacyPolicyLink]:hover,
.footer-links a[id=termsLink]:hover,
.notification-close:hover {
  color: #0fa;
}

.buy-button {
  font-size: .9rem;
  color: #fff;
  text-decoration: none;
  border: 1px solid #fff;
  padding: 8px 20px;
  border-radius: 30px;
  transition: .3s;
}

.buy-button:hover,
.btn-discover:hover,
.btn-details:hover {
  background-color: #fff;
  color: #0a0a0a;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}

.buy-icon {
  display: none;
  font-size: 1.2rem;
}

/* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  background-color: #0a0a0a;
  background-image: linear-gradient(45deg, #000 25%, #0a0a0a 25%, #0a0a0a 50%, #000 50%, #000 75%, #0a0a0a 75%, #0a0a0a 100%);
  background-size: 10px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(10, 10, 10, .5) 0, #0a0a0a 70%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
  width: 100%;
  padding: 0 20px;
}

.hero-logo,
.hero-subtitle,
.hero-tagline {
  z-index: 3;
  position: relative;
}

@keyframes glow {
  0%, 100% {
    text-shadow: 0 0 5px rgba(255, 255, 255, .5);
  }
  50% {
    text-shadow: 0 0 20px rgba(0, 255, 170, .8), 0 0 30px rgba(0, 255, 170, .5), 0 0 40px rgba(0, 255, 170, .3);
  }
}

.hero-logo {
  font-size: 6rem;
  font-weight: 700;
  font-family: Orbitron, sans-serif;
  color: #fff;
  letter-spacing: 10px;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(0, 255, 170, .3);
  animation: 3s ease-in-out infinite glow, 1s ease-out slideInDown;
}

.hero-tagline {
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: 3px;
  margin-bottom: 5px;
  animation: 1s ease-out .3s both slideInUp;
}

.hero-subtitle {
  color: #ccc;
  margin: 5px 0;
  max-width: 600px;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-image {
  width: 400px;
  max-width: 90%;
  margin: 40px 0;
  position: relative;
  z-index: 2;
  animation: 6s ease-in-out infinite float, 1.5s ease-out .5s both fadeIn;
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(0, 255, 170, .5));
  transition: transform .3s;
  animation: 6s ease-in-out infinite float;
}

.hero-image img:hover,
.product-card:hover .product-image img {
  transform: scale(1.05);
}

.hero-actions {
  display: flex;
  margin-top: 20px;
  position: relative;
  z-index: 3;
  animation: 1s ease-out .8s both slideInUp;
}

.btn-discover {
  padding: 12px 30px;
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  font-size: .9rem;
  letter-spacing: 2px;
  border-radius: 30px;
  margin: 0 10px;
  transition: .3s;
}

/* ===== CATÁLOGO ===== */
.catalog {
  padding: 100px 50px;
  background-color: #0f0f0f;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 255, 170, .3);
  font-family: Orbitron, sans-serif;
}

.catalog-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.catalog-nav button {
  background-color: transparent;
  border: none;
  color: #ccc;
  padding: 10px 15px;
  font-size: .9rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: .3s;
  margin: 0 5px;
}

.products-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.product-card {
  background: linear-gradient(145deg, #0c0c0c, #1a1a1a);
  border-radius: 15px;
  transition: .4s ease-in-out;
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .5);
  overflow: hidden;
}

.product-card:hover,
.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 255, 170, .2);
}

.product-image {
  height: 250px;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  overflow: hidden;
}

.product-image img {
  width: auto;
  height: auto;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform .6s;
}

.product-info {
  padding: 20px;
}

.product-name {
  font-weight: 700;
  font-family: Orbitron, sans-serif;
  letter-spacing: 1px;
  font-size: 1.4rem;
  color: #0fa;
  margin-bottom: 15px;
}

.product-buttons {
  display: flex;
  justify-content: center;
  padding-top: 10px;
  border-top: 1px solid #2a2a2a;
}

.btn-details {
  padding: 10px 25px;
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  font-size: .9rem;
  transition: .3s;
  display: inline-block;
}

/* ===== ABOUT ===== */
.about {
  padding: 100px 50px;
  background-color: #0a0a0a;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-content p {
  line-height: 1.8;
  max-width: 800px;
  text-align: center;
  margin: 0 auto 40px;
  color: #ccc;
  font-size: 1.05rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
  width: 100%;
}

.about-card {
  background: linear-gradient(145deg, #0c0c0c, #1a1a1a);
  padding: 30px;
  border-radius: 15px;
  transition: .4s;
  text-align: center;
}

.about-card-icon {
  font-size: 3rem;
  color: #0fa;
  margin-bottom: 20px;
}

.about-card-title {
  font-family: Orbitron, sans-serif;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 15px;
}

.about-card-text {
  color: #ccc;
  line-height: 1.6;
  text-align: center;
  font-size: .95rem;
  margin: 0;
  height: 100px;
  overflow: auto;
  padding: 0 5px;
}

.about-social-icons {
  background: linear-gradient(145deg, #0c0c0c, #1a1a1a);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  margin: 60px 0;
}

.about-social-icons h3 {
  font-family: Orbitron, sans-serif;
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #fff;
  letter-spacing: 2px;
}

.social-icons-container {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.social-icons-container a {
  color: #fff;
  font-size: 2rem;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2a2a2a;
  transition: .4s;
}

.social-icons-container a:hover {
  color: #0fa;
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .3);
  border-color: #0fa;
}

/* ===== CONTACTO ===== */
.contact {
  padding: 100px 50px;
  background-color: #0f0f0f;
}

.contact-content {
  margin: 0 auto;
  max-width: 800px;
}

.contact-form {
  background: linear-gradient(145deg, #0c0c0c, #1a1a1a);
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, .4);
  border: 1px solid #2a2a2a;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  max-width: 800px;
}

.contact-form::before {
  position: absolute;
  content: '';
  top: -10px;
  left: -10px;
  right: -10px;
  height: 5px;
  background: linear-gradient(90deg, transparent, #0fa, transparent);
  border-radius: 20px;
  animation: 4s linear infinite formGlow;
}

@keyframes formGlow {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.form-group {
  margin-bottom: 30px;
  position: relative;
}

.form-label {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 1px;
  font-weight: 500;
  transition: .3s;
  font-family: Orbitron, sans-serif;
}

.form-input {
  width: 100%;
  padding: 15px 20px;
  background-color: rgba(255, 255, 255, .03);
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  transition: .3s;
  font-family: Roboto, sans-serif;
}

.form-input:focus {
  border-color: #0fa;
  outline: 0;
  box-shadow: 0 0 15px rgba(0, 255, 170, .3);
  background-color: rgba(0, 255, 170, .05);
}

.form-input::placeholder {
  color: #666;
  opacity: 1;
}

.form-textarea {
  height: 180px;
  resize: vertical;
}

.submit-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, rgba(0, 255, 170, .1), rgba(0, 255, 170, .2));
  border: 1px solid #0fa;
  color: #0fa;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: .4s;
  letter-spacing: 3px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
  font-family: Orbitron, sans-serif;
  overflow: hidden;
}

.submit-btn::before {
  position: absolute;
  content: '';
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
  transition: .5s;
  z-index: -1;
}

.submit-btn:hover {
  background-color: #0fa;
  color: #0a0a0a;
  box-shadow: 0 0 20px rgba(0, 255, 170, .5);
  transform: translateY(-3px);
}

.submit-btn:hover::before {
  left: 100%;
}

.form-message {
  display: none;
  padding: 15px 20px;
  border-radius: 10px;
  margin-top: 25px;
  letter-spacing: 1px;
  text-align: center;
  font-family: Orbitron, sans-serif;
  transition: .3s;
  animation: .5s fadeIn;
}

@keyframes fadeIn {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.success-message {
  background-color: rgba(0, 255, 170, .1);
  border: 1px solid #0fa;
  color: #0fa;
  box-shadow: 0 0 15px rgba(0, 255, 170, .2);
}

.error-message {
  background-color: rgba(255, 80, 80, .1);
  border: 1px solid #ff5050;
  color: #ff5050;
  box-shadow: 0 0 15px rgba(255, 80, 80, .2);
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  display: none;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, .9);
  transition: .3s;
  backdrop-filter: blur(5px);
}

.modal-content {
  background: linear-gradient(145deg, #0c0c0c, #1a1a1a);
  margin: 5% auto;
  padding: 30px;
  border-radius: 15px;
  max-width: 800px;
  width: 80%;
  position: relative;
  animation: .4s modalAnimation;
}

@keyframes modalAnimation {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #ccc;
  font-size: 1.5rem;
  cursor: pointer;
  transition: .3s;
}

.close-modal:hover {
  color: #0fa;
  transform: rotate(90deg);
}

.modal-title {
  font-size: 1.8rem;
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
  font-family: Orbitron, sans-serif;
}

.pdf-container {
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 10px;
  margin-top: 20px;
}

/* ===== FOOTER ===== */
footer {
  background-color: #0a0a0a;
  padding: 50px 0;
  text-align: center;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 20px;
  font-family: Orbitron, sans-serif;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: .9rem;
  transition: .3s;
}

.footer-links a[id=privacyPolicyLink],
.footer-links a[id=termsLink] {
  font-size: .85rem;
  color: #999;
  position: relative;
}

.footer-links a[id=privacyPolicyLink]::after,
.footer-links a[id=termsLink]::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #0fa;
  transition: width .3s;
}

.footer-links a[id=privacyPolicyLink]:hover::after,
.footer-links a[id=termsLink]:hover::after {
  width: 100%;
}

.footer-social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

.footer-social-icons a {
  font-size: 1.3rem;
  width: 40px;
  height: 40px;
  background-color: #1a1a1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: .3s;
}

.footer-social-icons a:hover {
  color: #0fa;
  background-color: #2a2a2a;
  transform: translateY(-3px);
}

.footer-legal-info {
  font-size: .7rem;
  color: #666;
  margin-top: 10px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.footer-copyright {
  margin-top: 20px;
  color: #666;
  font-size: .8rem;
  line-height: 1.6;
}

/* ===== COMPONENTES ADICIONALES ===== */
.whatsapp-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .3);
  z-index: 999;
  transition: .3s;
  animation: 2s infinite pulse;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .4);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 45px;
  height: 45px;
  background-color: rgba(0, 255, 170, .2);
  border: 1px solid #0fa;
  color: #0fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: .3s;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #0fa;
  color: #0a0a0a;
  transform: translateY(-5px);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s, transform .6s;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

.text-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, .3);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .05);
}

.text-container h3 {
  font-family: Orbitron, sans-serif;
  font-size: 1.4rem;
  color: #fff;
  text-align: center;
  margin-bottom: 15px;
}

.text-container p {
  margin-bottom: 15px;
}

.text-container p:last-child {
  margin-bottom: 0;
}

.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(0, 255, 170, .5);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: width .3s, height .3s, background-color .3s;
  mix-blend-mode: difference;
}

.custom-cursor.hover {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 255, 170, .2);
}

.parallax {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center;
  transform: translateY(0);
  transition: transform .5s cubic-bezier(.25, .46, .45, .94);
}

.notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(145deg, #0c0c0c, #1a1a1a);
  border-left: 4px solid #0fa;
  padding: 15px 20px;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .3);
  transform: translateX(120%);
  transition: transform .3s;
  z-index: 1000;
  max-width: 300px;
}

.notification.show {
  transform: translateX(0);
}

.notification-title {
  font-family: Orbitron, sans-serif;
  font-size: 1rem;
  margin-bottom: 5px;
  color: #0fa;
}

.notification-message {
  font-size: .9rem;
  color: #ccc;
}

.notification-close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #666;
  cursor: pointer;
  font-size: .8rem;
  transition: color .3s;
}

/* ===== POLÍTICA DE PRIVACIDAD Y TÉRMINOS ===== */
#privacyPolicyModal .modal-content,
#termsModal .modal-content {
  max-width: 900px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  animation: .3s ease-out fadeInScale;
}

#privacyPolicyModal h3,
#termsModal h3 {
  font-family: Orbitron, sans-serif;
  font-size: 1.2rem;
  color: #0fa;
  margin: 25px 0 15px;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

#privacyPolicyModal p,
#termsModal p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #ccc;
}

#privacyPolicyModal ul,
#termsModal ul {
  margin: 15px 0 20px 20px;
  color: #ccc;
}

#privacyPolicyModal li,
#termsModal li {
  margin-bottom: 8px;
  line-height: 1.6;
}

#privacyPolicyModal strong,
#termsModal strong {
  color: #fff;
}

#privacyPolicyModal:focus-within,
#termsModal:focus-within {
  outline: 0;
}

#privacyPolicyModal .modal-content:focus-within,
#termsModal .modal-content:focus-within {
  outline: #00ffaa solid 2px;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, .9);
  color: #fff;
  padding: 15px;
  z-index: 9999;
  display: none;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, .3);
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-content p {
  margin: 0 20px 10px 0;
  font-size: .9rem;
  max-width: 70%;
}

.cookie-content a {
  color: #0fa;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 20px;
  border-radius: 30px;
  font-size: .9rem;
  cursor: pointer;
  transition: .3s;
}

.cookie-btn.accept {
  background-color: #0fa;
  color: #000;
  border: none;
}

.cookie-btn.reject {
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.cookie-btn.accept:hover {
  background-color: #0c8;
}

.cookie-btn.reject:hover {
  background-color: rgba(255, 255, 255, .1);
}

/* ===== ANIMACIONES ===== */
@keyframes slideInLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ===== MEDIA QUERIES ===== */
@media screen and (max-width: 1024px) {
  .hero-logo {
    font-size: 5rem;
  }
  
  .products-container {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  
  .about-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media screen and (max-width: 768px) {
  header {
    padding: 15px 20px;
    justify-content: space-between;
    padding: 12px 15px;
  }
  
  .logo a {
    font-size: 1.3rem;
  }
  
  .logo {
    display: flex;
    align-items: center;
    margin-right: 15px;
  }
  
  .logo img {
    width: 10% !important;
  }
  
  .menu-toggle {
    display: block;
    margin-left: 15px;
  }
  
  .main-nav {
    position: static;
    transform: none;
    width: 100%;
  }
  
  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, .95);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: .5s;
    z-index: 1000;
  }
  
  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  .nav-links li {
    margin: 15px 0;
  }
  
  .buy-button {
    padding: 6px 15px;
    font-size: .8rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-left: 20px;
    margin-right: 20px;
    position: relative;
  }
  
  .buy-text {
    display: none;
  }
  
  .buy-icon {
    display: inline-block;
  }
  
  .hero-logo {
    font-size: 3.5rem;
    letter-spacing: 5px;
  }
  
  .hero-tagline {
    font-size: 1rem;
    letter-spacing: 2px;
  }
  
  .hero-image {
    width: 300px;
  }
  
  .about,
  .catalog,
  .contact {
    padding: 80px 20px;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .products-container {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .social-icons-container {
    gap: 20px;
  }
  
  .social-icons-container a {
    width: 60px;
    height: 60px;
    font-size: 1.7rem;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
  
  .modal-content {
    width: 95%;
    padding: 20px;
  }
  
  .pdf-container {
    height: 400px;
  }
  
  .footer-logo {
    font-size: 1.8rem;
  }
  
  p {
    font-size: .95rem;
    text-align: left;
  }
  
  .about-content p {
    font-size: 1rem;
    text-align: left;
    padding: 0 15px;
  }
  
  .about-card-text {
    height: auto;
    max-height: 150px;
  }
  
  .text-container {
    padding: 15px;
  }
  
  #privacyPolicyModal .modal-content,
  #termsModal .modal-content {
    padding: 25px;
    width: 90%;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-content p {
    max-width: 100%;
    margin-bottom: 15px;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
  
  .footer-links a[id=privacyPolicyLink],
  .footer-links a[id=termsLink] {
    font-size: .8rem;
  }
}

@media screen and (max-width: 576px) {
  .logo a {
    font-size: 1.2rem;
  }
  
  .logo img {
    width: 10% !important;
  }
  
  .buy-button {
    padding: 5px 12px;
    font-size: .75rem;
  }
  
  .hero-logo {
    font-size: 2.5rem;
    letter-spacing: 3px;
  }
  
  .hero-tagline {
    font-size: .9rem;
    letter-spacing: 1px;
  }
  
  .hero-image {
    width: 250px;
    margin: 30px 0;
  }
  
  .btn-discover {
    padding: 10px 20px;
    font-size: .8rem;
  }
  
  .section-title {
    font-size: 1.8rem;
    letter-spacing: 3px;
  }
  
  .about,
  .catalog,
  .contact {
    padding: 60px 15px;
  }
  
  .products-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .product-image {
    height: 220px;
  }
  
  .product-name {
    font-size: 1.1rem;
  }
  
  .about-card {
    padding: 20px;
  }
  
  .about-card-icon {
    font-size: 2.5rem;
  }
  
  .about-card-title {
    font-size: 1.2rem;
  }
  
  .social-icons-container {
    gap: 15px;
  }
  
  .social-icons-container a {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .contact-form {
    padding: 25px 15px;
  }
  
  .form-label {
    font-size: .9rem;
  }
  
  .form-input {
    padding: 12px 15px;
  }
  
  .submit-btn {
    padding: 14px;
    font-size: 1rem;
  }
  
  .whatsapp-button {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
    bottom: 15px;
    right: 15px;
  }
  
  .footer-links {
    gap: 15px;
    flex-direction: column;
  }
  
  .footer-social-icons {
    margin: 20px 0;
  }
}

@media screen and (max-width: 375px) {
  .hero-logo {
    font-size: 2rem;
    letter-spacing: 2px;
  }
  
  .hero-tagline {
    font-size: .8rem;
  }
  
  .hero-image {
    width: 200px;
  }
  
  .section-title {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }
  
  .btn-discover {
    padding: 8px 15px;
    font-size: .75rem;
  }
  
  .about-card-icon {
    font-size: 2rem;
  }
  
  .about-card-title {
    font-size: 1.1rem;
  }
  
  .social-icons-container a {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .submit-btn {
    padding: 12px;
    font-size: .9rem;
    letter-spacing: 2px;
  }
  
  .buy-button {
    width: 35px;
    height: 35px;
    margin-right: 15px;
  }
  
  .logo img {
    width: 6% !important;
  }
}

@media screen and (max-width: 320px) {
  .cookie-banner {
    padding: 10px;
  }
  
  .cookie-content p {
    font-size: .8rem;
  }
  
  .cookie-buttons {
    flex-direction: column;
    gap: 8px;
  }
  
  .cookie-btn {
    width: 100%;
    text-align: center;
  }
  
  .footer-links a,
  .nav-links a {
    color: #fff;
  }
  
  .product-name {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, .5);
  }
  
  .form-input::placeholder {
    color: #999;
  }
}

@media screen and (min-width: 769px) {
  .about-card-text {
    height: 150px;
  }
}

@media screen and (min-width: 1200px) {
  .about-content p {
    font-size: 1.1rem;
    max-width: 900px;
  }
  
  .about-card-text {
    height: 120px;
  }
}

@media screen and (max-width: 480px) {
  #privacyPolicyModal h3,
  #termsModal h3 {
    font-size: 1.1rem;
  }
  
  #privacyPolicyModal p,
  #termsModal p,
  #privacyPolicyModal li,
  #termsModal li,
  .cookie-content p {
    font-size: .85rem;
  }
  
  .cookie-btn {
    padding: 6px 15px;
    font-size: .8rem;
  }
}

/* ===== SOPORTE PARA NAVEGADORES ANTIGUOS ===== */
.about-card,
.contact-form,
.product-card {
  -webkit-transition: .4s ease-in-out;
  -moz-transition: .4s ease-in-out;
  -o-transition: .4s ease-in-out;
  transition: .4s ease-in-out;
}

.hero::before {
  background: -webkit-radial-gradient(circle, rgba(10, 10, 10, .5) 0, #0a0a0a 70%);
  background: -moz-radial-gradient(circle, rgba(10, 10, 10, .5) 0, #0a0a0a 70%);
  background: radial-gradient(circle, rgba(10, 10, 10, .5) 0, #0a0a0a 70%);
}

@-webkit-keyframes glow {
  0%, 100% {
    text-shadow: 0 0 5px rgba(255, 255, 255, .5);
  }
  50% {
    text-shadow: 0 0 20px rgba(0, 255, 170, .8), 0 0 30px rgba(0, 255, 170, .5), 0 0 40px rgba(0, 255, 170, .3);
  }
}

/* ===== DISPOSITIVOS TÁCTILES ===== */
@media (hover: none) {
  .product-card:hover,
  .about-card:hover,
  .product-card:hover .product-image img,
  .social-icons-container a:hover {
    transform: none;
  }
  
  .btn-discover:hover,
  .buy-button:hover,
  .submit-btn:hover {
    background-color: transparent;
    color: inherit;
    box-shadow: none;
  }
  
  .nav-links a:hover {
    color: inherit;
  }
}

/* ===== IMPRESIÓN ===== */
@media print {
  body {
    background-color: #fff;
    color: #000;
    font-size: 12pt;
  }
  
  a {
    color: #000;
    text-decoration: none;
  }
  
  header,
  .hero,
  .about,
  .contact,
  footer,
  .whatsapp-button,
  .back-to-top {
    display: none !important;
  }
  
  .catalog {
    background-color: #fff;
    padding: 20px;
    color: #000;
  }
  
  .section-title {
    color: #000;
    text-shadow: none;
  }
  
  .product-card {
    break-inside: avoid;
    background: none;
    box-shadow: none;
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }
  
  .product-name {
    color: #000;
  }
  
  #privacyPolicyModal,
  #termsModal {
    position: static;
    display: block;
    background: none;
  }
  
  #privacyPolicyModal .modal-content,
  #termsModal .modal-content {
    box-shadow: none;
    border: 1px solid #ccc;
    background: none;
    color: #000;
  }
  
  #privacyPolicyModal h3,
  #termsModal h3 {
    color: #000;
  }
  
  #privacyPolicyModal p,
  #termsModal p,
  #privacyPolicyModal li,
  #termsModal li {
    color: #333;
  }
  
  .close-modal {
    display: none;
  }
}